package cn.stylefeng.guns.modular.kh.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 可好-波次信息
 * </p>
 *
 * @author zzh
 * @since 2025-10-21
 */
@TableName("kh_ware")
public class KhWare implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 所属波次
     */
    @TableField("wave_num")
    private String waveNum;

    /**
     * 收货客户id
     */
    @TableField("get_unit_id")
    private Long getUnitId;

    /**
     * 收货客户名称
     */
    @TableField("get_unit")
    private String getUnit;

    /**
     * 收货客户编码
     */
    @TableField("get_unit_number")
    private String getUnitNumber;

    /**
     * 收货客户序号
     */
    @TableField("get_unit_sort")
    private String getUnitSort;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 创建用户
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 修改用户
     */
    @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;

    /**
     * 交付id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 项目部id
     */
    @TableField("operate_id")
    private Integer operateId;

    /**
     * 项目部名称
     */
    @TableField("operate_name")
    private String operateName;

    /**
     * 项目部名称
     */
    @TableField("stock_port")
    private String stockPort;

    @TableField("to_location")
    private String toLocation;

    public String getToLocation() {
        return toLocation;
    }

    public void setToLocation(String toLocation) {
        this.toLocation = toLocation;
    }

    public String getStockPort() {
        return stockPort;
    }

    public void setStockPort(String stockPort) {
        this.stockPort = stockPort;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getWaveNum() {
        return waveNum;
    }

    public void setWaveNum(String waveNum) {
        this.waveNum = waveNum;
    }

    public Long getGetUnitId() {
        return getUnitId;
    }

    public void setGetUnitId(Long getUnitId) {
        this.getUnitId = getUnitId;
    }

    public String getGetUnit() {
        return getUnit;
    }

    public void setGetUnit(String getUnit) {
        this.getUnit = getUnit;
    }

    public String getGetUnitNumber() {
        return getUnitNumber;
    }

    public void setGetUnitNumber(String getUnitNumber) {
        this.getUnitNumber = getUnitNumber;
    }

    public String getGetUnitSort() {
        return getUnitSort;
    }

    public void setGetUnitSort(String getUnitSort) {
        this.getUnitSort = getUnitSort;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Long getDeliverId() {
        return deliverId;
    }

    public void setDeliverId(Long deliverId) {
        this.deliverId = deliverId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Integer getOperateId() {
        return operateId;
    }

    public void setOperateId(Integer operateId) {
        this.operateId = operateId;
    }

    public String getOperateName() {
        return operateName;
    }

    public void setOperateName(String operateName) {
        this.operateName = operateName;
    }

    @Override
    public String toString() {
        return "KhWare{" +
        "id=" + id +
        ", waveNum=" + waveNum +
        ", getUnitId=" + getUnitId +
        ", getUnit=" + getUnit +
        ", getUnitNumber=" + getUnitNumber +
        ", getUnitSort=" + getUnitSort +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", createUser=" + createUser +
        ", updateUser=" + updateUser +
        ", deliverId=" + deliverId +
        ", deptId=" + deptId +
        ", operateId=" + operateId +
        ", operateName=" + operateName +
        "}";
    }
}
